package com.dd.cloud.user.entity.supervision;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Table(comment = "医疗监管数据")
public class SupervisionData {

    @TableId(value = "id", type = IdType.AUTO)
    @Column(isKey = true, isAutoIncrement = true)
    private Integer id;

    /**
     * 编码
     */
    @Column(length = 20, comment = "编码")
    private String code;

    /**
     * 名称
     */
    @Column(length = 128, comment = "名称")
    private String name;

    /**
     * 备注
     */
    @Column(length = 20, comment = "备注")
    private String remark;

    /**
     * 类型
     */
    @Column(length = 4, comment = "类型")
    private Integer type;

}
